<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <link rel="stylesheet" href="./css/common.css">
    <link rel="stylesheet" href="./css/productDetail.css">
    <title>新闻详情</title>
</head>

<body>
<div class="lg_newDetail">
    <header class="yimiTop" title="newList"></header>
    <div class="content">
        <img src="http://ym.hutugod.top/0003.jpg" alt="">
    </div>
    <div class="content">
        <div class="w1184">
<!--            <h2>湖南省日间手术协会第一次委员会议</h2>-->
<!--            <img src="http://ym.hutugod.top/add-cover-001.png" alt="">-->
<!--            <p>Product Detail</p>-->
            <img id="detail" src="" alt="">
        </div>
    </div>
    <footer></footer>
</div>
</body>
<script src="./js/jquery-2.1.0.js "></script>
<script src="./js/common.js"></script>
<script>

    $(document).ready(function(){
        header.init()
        footer.init()
        $("#detail").attr('src',"http://ym.hutugod.top/"+GetQueryValue("id"));
        console.log(GetQueryValue("id"))
    })

    function GetQueryValue(queryName) {
        var query = decodeURI(window.location.search.substring(1));
        var vars = query.split("&");
        for (var i = 0; i < vars.length; i++) {
            var pair = vars[i].split("=");
            if (pair[0] == queryName) {
                return pair[1];
            }
        }
        return null;
    }
</script>

</html>